package br.com.werp.suporte.Relatorios;
import java.util.*;
import org.apache.struts.action.*;
import javax.servlet.http.*;

/**
 * Creation Date 14/12/2004 13:06:59
 * Last Modify Date 28/11/2005 17:16:09
 */

public class RelatorioVisaoActionForm extends org.apache.struts.action.ActionForm {
  public String relatorioField;
  private boolean valida = false;
  public RelatorioVisaoActionForm() {
  }
  /**
    * RELATORIOFIELD: Gets the value of this field.
    */
  public String getRelatorioField() {
    return relatorioField;
  }
  /**
     * RELATORIOFIELD: Sets thhe value for this field.
     */
  public void setRelatorioField(String RELATORIOFIELD) {
    relatorioField = RELATORIOFIELD;
  }
  /**
    * Reset all fields.
    */
  public void reset(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    relatorioField = null;
  }
  /**
    * Validate fields and return ActionErrors.
    */

  public ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
      javax.servlet.http.HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    valida = false;
    if (errors != null && errors.size() > 0) {
      javax.servlet.http.HttpSession session = request.getSession(true);
      ActionForward actionForward = null;
      session.setAttribute(mapping.getName(), this);
    }
    return errors;
  }
}
